

import '../../net/fm_base_net_domain.dart';
import '../../net/fm_http_request.dart';
import '../../net/fm_net_param_manager.dart';

class FMOrderApi extends FMBaseNetDomain {

  String hesitated;

  FMOrderApi({
    required this.hesitated
  });

  @override
  String requestUrl() {
    return FMNetParamManager().getDefaultUrlPath("/directs/undertake");
  }

  @override
  Map<String, dynamic> requestParams() {
    return {
      "hesitated" : hesitated
    };
  }

  @override
  FMHttpMethodType methodType() {
    return FMHttpMethodType.post;
  }
}